<template>
  <!-- 删除Modal -->
  <a-modal :visible="isDeleteModal" title="操作确认" @ok="handleOk" @cancel="handleCancel">
    <!-- 问号   icon图标 -->
    <div class="ant-modal-confirm-body">
      <span class="ant-modal-confirm-title">是否确定删除数据?</span>
      <div class="ant-modal-confirm-content">是否确定删除数据?</div>
    </div>
  </a-modal>
</template>

<script>
export default {
  name: "deleteModal",
  props: {
    isDeleteModal: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {};
  },
  methods: {
    handleOk() {
      this.$emit("cancelModal", "删除角色");
    },
    handleCancel() {
      this.$emit("cancelModal", "删除角色");
    }
  }
};
</script>

<style>
</style>